:root {
    --ebatc1-dark: #000000;
    --ebatc1-white: #ffffff;
    --ebatc1-primary: rgb(37, 52, 63);
    --ebatc1-secondary: #E60012;

    --ebatc1-container-width: 1440px;

    --ebatc1-space-xs: .4rem;
    --ebatc1-space-sm: .8rem;
    --ebatc1-space-md: 1.2rem;
    --ebatc1-space-lg: 2rem;
    --ebatc1-space-xl: 3rem;

    --ebatc1-fs-sm: .85rem;
    --ebatc1-fs-base: 1rem;
    --ebatc1-fs-md: 1.1rem;
    --ebatc1-fs-lg: 1.125rem;
    --ebatc1-fs-xl: 1.6rem;
    --ebatc1-fs-2xl: 1.25rem;

    --ebatc1-transition: .35s cubic-bezier(.4, 0, .2, 1);
}


body {

    direction: rtl;
}

a {
    text-decoration: none;
    color: inherit;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


.ebatc1-stats-section {
    background-color: var(--ebatc1-primary);
    padding: var(--ebatc1-space-md) 0;
    /* مسافة للقسم من الأعلى والأسفل */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--ebatc1-space-xl);
    width: 100%;
}

.ebatc1-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--ebatc1-space-sm);
}

/* العنوان الرئيسي وكلمة التمييز */
.ebatc1-title {
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: bold;
    color: var(--ebatc1-secondary);
}

.ebatc1-title-highlight {
    color: var(--ebatc1-white);
}

/* الخط السفلي الأنيق للعنوان  */
.ebatc1-underline {
    width: 80px;
    height: 2px;
    background-color: var(--ebatc1-secondary);
    position: relative;
}

.ebatc1-container {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--ebatc1-space-md);
    /* بديل المسافات الخارجية المتكررة */
    max-width: var(--ebatc1-container-width);
    width: 100%;
}

/* =========================================
   العناصر الداخلية (البطاقات)
========================================= */
.ebatc1-orb-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--ebatc1-space-md);
    /* المسافة بين الدائرة والنص */
    box-shadow: 4px 4px 15px var(--ebatc1-secondary);
    border-radius: 10px;
    padding: var(--ebatc1-space-sm);
}

.ebatc1-orb-graphic {
    position: relative;
    width: clamp(90px, 10vw, 120px);
    /* حجم متجاوب للدائرة */
    height: clamp(90px, 10vw, 120px);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* تنسيق الـ SVG ليأخذ حجم الحاوية بالكامل */
.ebatc1-orb-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
    /* تدوير نقطة البداية للأعلى */
}

/* التنسيق المشترك لخطوط الدائرة */
.ebatc1-circle-fill,
.ebatc1-circle-progress {
    fill: transparent;
    stroke-width: 3;
    /* سمك خط مثالي */
    stroke-dasharray: 314.16;
    /* المحيط الكامل للدائرة */
}

/* الدائرة الأساسية البيضاء */
.ebatc1-circle-fill {
    stroke: var(--ebatc1-white);
}

/* دائرة التقدم الملونة */
.ebatc1-circle-progress {
    stroke: var(--ebatc1-secondary);
    stroke-dashoffset: 314.16;
    /* الدائرة مخفية في البداية */
    transition: stroke-dashoffset 1.5s linear;
}

/* =========================================
   النصوص المتجاوبة
========================================= */
.ebatc1-orb-value {
    font-size: clamp(var(--ebatc1-fs-xl), 3vw, 2.5rem);
    font-weight: 700;
    color: var(--ebatc1-white);
    z-index: 1;
}

.ebatc1-orb-label {
    color: var(--ebatc1-white);
    text-transform: uppercase;
    font-size: clamp(var(--ebatc1-fs-sm), 1.5vw, var(--ebatc1-fs-base));
}

/* =========================================
   فئة التشغيل عند التمرير (تُضاف عبر JS)
========================================= */
.ebatc1-orb-card.ebatc1-is-animated .ebatc1-circle-progress {
    stroke-dashoffset: 0;
    /* تعبئة الدائرة بالكامل */
}